package cn.brickie.abstractfactory;

/***
 * 抽象工厂
 * @author Brickie
 * @date 2018/5/29 10:43
 */
public abstract class AbstractFactory {
    /***
     * 获取颜色实现类
     * @param colorType
     * @return
     */
    public abstract Color getColor(ColorFactory.ColorType colorType);

    /***
     * 获取形状实现类
     * @param shapeType
     * @return
     */
    public abstract Shape getShape(ShapeFactory.ShapeType shapeType);
}